<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>安防巡更</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="css/header.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/plantasklist.css" />
    <link rel="stylesheet" type="text/css" href="css/plandevicetaskdetail.css" />
    <link rel="stylesheet" type="text/css" href="css/typelist.css" />

    <style>
        .aui-refresh-content{
            margin-top: 0.5rem;
            margin-bottom: 3rem;
        }
        .organization_list_li_icon{
            margin-top: 1rem;
        }
        .tapmode {
            width: 70% !important;
            margin: 0 auto;
            margin-top: 8px;
            border-radius: 50px;
            height: 26px;
            line-height: 26px;
            /* background: #289FFF; */
            color: #fff;
        }

        .aui-active {
            border-radius: 50px;
            height: 26px;
            line-height: 26px;
            background: #fff;
            color: #289FFF;
            box-shadow: 0px 1px 5px 0px rgba(60, 128, 209, 0.12);
        }

        .topheader {
            background-size: 100%;
            color: #000;
            height: 2rem;
            position: fixed;
            top: 0px;
            left: 0;
            right: 0;
            background: #289FFF;
            /* 标准的语法 */
        }

        .aui-bar-nav {

            color: #fff;
            background: #f00 !important;
        }

        .bgshadow {
            box-shadow: 0px 1px 5px 0px rgba(60, 128, 209, 0.12);
        }
        .work_title_add{
            width: 80%;
            font-size: 0.8rem;
            font-weight:500;
            margin-top: 0px;
        }
        .content {
            width: 100%;
            height: 0.6rem;
            line-height: 0.6rem;
            margin-bottom: 10px;
            overflow: hidden;
        }
        .content span {
            color: #333;
            font-size: 0.6rem;
        }
        .content span.percent {
            float: right;
            text-align: right;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <!-- <div class="topmsg">
            <div class="topmsg_saixuan fl">
                <van-checkbox v-model="checked"  @click="choose_noread()">仅看未读</van-checkbox>
            </div>
            <div v-on:click="All_read()" class="topmsg_isread fr">全部标记为已读</div>
        </div> -->

        <section id="main_refresh" class="aui-refresh-content">
            <!-- aui-content -->
            <div class=" organization_list_li_icon">
                <!-- <div v-if="list.length>0" class="notodayList" style="background:none;">
                    没有更多内容
                </div> -->
                <div v-bind:id="'scroll' + item.JpushLogID"  class="typeitem" v-for="item in list">
                    <div class="boxtime">{{item.JpushAddTime}}</div>
                    <div class="boxbg">
                        <div class="boxcenter">
                            <div class="boxpic"><img src="../image/icon/anfang.png"></div>
                            <div class="aui_list boxarea mainbox"  v-on:click="open_list(item)" >
                                <div class="workheader">
                                    <div class="work_title_add ellipsis_one fl" >{{item.DevicePlanName}}
                                    </div>
                                    <div v-if="item.IsRead" class="typestatus ygd">已读</div>
                                    <div v-if="!item.IsRead" class="typestatus kgx">未读</div>
                                        
                                </div>
                                <div class="work_con_box_time marginheight">
                                    <div class="work_con_box_right">
                                        <label>起止时间：{{item.StartTime}} ~ {{item.EndTime}}<span
                                                v-if="item.OutTimeStatusDesc=='超时'"
                                                class="overtime">{{item.OutTimeStatusDesc}}</span></label>
                                        <label></label>
                                    </div>
                                </div>
                                <div class="work_con_box_time marginheight">
                                    <div class="work_con_box_right">
                                        <div class="prograssbg">
                                            <div class="prograssmsg"
                                                v-bind:style="{'width':((item.completeCount/item.count)*100).toFixed(2)+'%'}">
                                            </div>
                                        </div>
                                        <div class="content mt10"><span>( {{item.completeCount}}/{{item.count}} )</span><span
                                                class="ml10">{{((item.completeCount/item.count)*100).toFixed(2)}}%</span>
                                                <span v-if="item.abnormalCount>0" class="percent" style="color: #ff0000;">有异常</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="work_con_box_name marginheight">
                                    <div class="work_con_box_right">
                                        <label>负责人：{{item.TaskChargeManName}}</label>
                                    </div>
                                </div>
                                <!-- <div v-if="item.TaskStatus==2 || item.TaskStatus==3" class="work_typebox">
                                    <div class="workTypeLft">
                                        <div class="workTypeTitle">异常</div>
                                        <div class="workTypeNum">{{item.abnormalCount}}</div>
                                    </div>
                                    <div class="workTypeRgt">
                                        <div class="workTypeTitle">超时</div>
                                        <div class="workTypeNum">{{item.normalCount}}</div>
                                    </div>
                                </div> -->
                                <!-- <div v-if="item.TaskStatus==1" class="work_beginbtnty3" v-on:click="open_list(item)">
                                    开始任务</div>
                                <div v-if="item.TaskStatus==2" class="work_beginbtnty3" v-on:click="open_list(item)">
                                    继续执行</div>
                                <div v-if="item.TaskStatus==3" class="work_beginbtnty3" v-on:click="open_list(item)">
                                    查看详情</div> -->
                            </div>

                        </div>
                    </div>
                </div>






                
            </div>
            <div class="noinfo" id="noorder" v-if="list.length<=0">
                <img src="../image/index/noinfomsg_icon.png" alt="" />
                <h5><br />暂无相关数据</h5>
            </div>
        </section>
        <div v-on:click="open_renwu()" class="openlist">任务列表<i class="icon iconfont icon-xiangyoujiantou"></i></div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/patrolplan_typelist.js"></script>

</html>